home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / less_237.zip / less_237 / defines.h.top < prev    next >
Text File  |  1994-08-21  |  3KB  |  123 lines

  1. /* Unix definition file for less.  -*- C -*-
  2.  *
  3.  * This file has 3 sections:
  4.  * User preferences.
  5.  * Settings always true on Unix.
  6.  * Settings automatically determined by configure.
  7.  *
  8.  * * * * * *  WARNING  * * * * * *
  9.  * If you edit defines.h by hand, do "touch stamp-h" before you run make
  10.  * so config.status doesn't overwrite your changes.
  11.  */
  12.  
  13. /* User preferences.  */
  14.  
  15. /*
  16.  * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
  17.  * (This is possible only if your system supplies the system() function.)
  18.  */
  19. #define    SHELL_ESCAPE    1
  20.  
  21. /*
  22.  * TAB_COMPLETE_FILENAME is 1 if you wish to allow the TAB key
  23.  * to complete filenames at prompts.
  24.  */
  25. #define    TAB_COMPLETE_FILENAME    1
  26.  
  27. /*
  28.  * CMD_HISTORY is 1 if you wish to allow keys to cycle through
  29.  * previous commands at prompts.
  30.  */
  31. #define    CMD_HISTORY    1
  32.  
  33. /*
  34.  * HILITE_SEARCH is 1 if you wish to have search targets to be 
  35.  * displayed in standout mode.
  36.  */
  37. #define    HILITE_SEARCH    1
  38.  
  39. /*
  40.  * EDITOR is 1 if you wish to allow editor invocation (the "v" command).
  41.  * (This is possible only if your system supplies the system() function.)
  42.  * EDIT_PGM is the name of the (default) editor to be invoked.
  43.  */
  44. #define    EDITOR        1
  45. #define    EDIT_PGM    "vi"
  46.  
  47. /*
  48.  * TAGS is 1 if you wish to support tag files.
  49.  */
  50. #define    TAGS        1
  51.  
  52. /*
  53.  * USERFILE is 1 if you wish to allow a .less file to specify 
  54.  * user-defined key bindings.
  55.  */
  56. #define    USERFILE    1
  57.  
  58. /*
  59.  * GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
  60.  * This will generally work if your system provides the "popen" function
  61.  * and the "echo" shell command.
  62.  */
  63. #define    GLOB        1
  64.  
  65. /*
  66.  * PIPEC is 1 if you wish to have the "|" command
  67.  * which allows the user to pipe data into a shell command.
  68.  */
  69. #define    PIPEC        1
  70.  
  71. /*
  72.  * LOGFILE is 1 if you wish to allow the -l option (to create log files).
  73.  */
  74. #define    LOGFILE        1
  75.  
  76. /*
  77.  * ONLY_RETURN is 1 if you want RETURN to be the only input which
  78.  * will continue past an error message.
  79.  * Otherwise, any key will continue past an error message.
  80.  */
  81. #define    ONLY_RETURN    0
  82.  
  83. /*
  84.  * LESSKEYFILE is the filename of the default lesskey file 
  85.  * (in the HOME directory).
  86.  */
  87. #define    LESSKEYFILE    ".less"
  88.  
  89. /* Settings always true on Unix.  */
  90.  
  91. /*
  92.  * Define MSOFTC if compiling under Microsoft C.
  93.  */
  94. #define    MSOFTC    0
  95.  
  96. /*
  97.  * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>.
  98.  */
  99. #define HAVE_SYS_TYPES_H    1
  100.  
  101. /*
  102.  * HAVE_STAT is 1 if your system has the stat() call.
  103.  */
  104. #define    HAVE_STAT    1
  105.  
  106. /*
  107.  * HAVE_PERROR is 1 if your system has the perror() call.
  108.  * (Actually, if it has sys_errlist, sys_nerr and errno.)
  109.  */
  110. #define    HAVE_PERROR    1
  111.  
  112. /*
  113.  * HAVE_TIME is 1 if your system has the time() call.
  114.  */
  115. #define    HAVE_TIME    1
  116.  
  117. /*
  118.  * HAVE_SHELL is 1 if your system supports a SHELL command interpreter.
  119.  */
  120. #define    HAVE_SHELL    1
  121.  
  122. /* Settings automatically determined by configure.  */
  123.